package com.feige.dao;

import com.feige.pojo.RolePermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 角色权限表 Mapper 接口
 * </p>
 *
 * @author feige
 * @since 2020-07-20
 */
public interface RolePermissionMapper extends BaseMapper<RolePermission> {

    //通过角色ID查询对应的权限ID
    List<Long> getPermissionId(Long roleId);
}
